<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			@import url(https://fonts.googleapis.com/css?family=Lato);
			body {
			  display: flex;
			  justify-content: center;
			  align-items: center;
			  height: 100vh;
			  background: #222;
			}
			
			.gleaming {
			  color: #66ccff;
			  letter-spacing: 1rem;
			  font-size: 1.5rem;
			  font-family: Lato, sans-serif;
			  text-transform: uppercase;
			}
			.gleaming span {
			  opacity: 0;
			  filter: blur(10px);
			  animation: fadeIn 2s alternate infinite;
			}
			
			@keyframes fadeIn {
			  50%, 100% {
			    opacity: 1;
			    filter: blur(0px);
			  }
			}
		</style>
	</head>
	<body>
		<h1 class="gleaming">即便身处泥潭，也要心向光明 ​​​。 ​​​​</h1>
	</body>
</html>
<script>
	"use strict";
	const random = (min, max) => min + Math.floor(Math.random() * (max - min + 1));
	let heading = document.querySelector("h1.gleaming");
	let letters = heading.textContent.split("");
	heading.textContent = "";
	letters.forEach(letter => {
	    let span = document.createElement("span");
	    span.textContent = letter;
	    span.style.animationDelay = `${random(1, 1000)}ms`;
	    heading.append(span);
	});

</script>